from lib.config.config import Config


class mysql_config:
    def __init__(self):
        config = Config()
        configNode = config.getnode()
        self.host = configNode.get("mysql", "host")
        self.port = configNode.get("mysql", "port")
        self.user = configNode.get("mysql", "user")
        self.passwd = configNode.get("mysql", "passwd")
        self.db = configNode.get("mysql", "db")